when building the Quartz backend, use a native Mac OS X application for
authorSven Neumann <sven@gimp.org>
Wed, 27 Feb 2008 09:58:49 +0000 (09:58 +0000)
committerSven Neumann <neo@src.gnome.org>
Wed, 27 Feb 2008 09:58:49 +0000 (09:58 +0000)
2008-02-27  Sven Neumann  <sven@gimp.org>

* gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the
Quartz backend, use a native Mac OS X application for the print
preview (bug #518624).

svn path=/trunk/; revision=19663

ChangeLog
gtk/Makefile.am

index a98c8f8e14348068d44121b2756f6d76120dcc83..4cf6610f5615687880b929bb22e1dcbeeb036c29 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-02-27  Sven Neumann  <sven@gimp.org>
+
+       * gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the
+       Quartz backend, use a native Mac OS X application for the print
+       preview (bug #518624).
+
 2008-02-26  Michael Natterer  <mitch@imendio.com>
 
        * gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
index fe084074656fb6c94a363331ca5b8ea55d4f6f6b..9bf76e736cd74cb7c4b1b01fce14357eae3c9fc5 100644 (file)
@@ -5,8 +5,12 @@ xdgmimedir =
 
 if OS_UNIX
 xdgmimedir += xdgmime
+if USE_QUARTZ
+GTK_PRINT_PREVIEW_COMMAND="/Applications/Preview.app/Contents/MacOS/Preview %f"
+else
 GTK_PRINT_PREVIEW_COMMAND="evince --unlink-tempfile --preview --print-settings %s %f"
 endif
+endif
 
 SUBDIRS = theme-bits $(xdgmimedir) . tests
 DIST_SUBDIRS=theme-bits xdgmime tests